package com.lwd.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.lwd.entity.Goods;
import com.lwd.entity.Type;

public interface GoodsService {
	
	public List<Goods> getAllGoods();

	public List<Type> queryTypeAll();

	public boolean deleteGoodsById(Integer id);

	public boolean updateGoods(Goods goods);

	public boolean addeGoods(Goods goods);

	public Goods queryGoodsById(Integer id);

    PageInfo<Goods> getPageInfo(Integer tid, String gname, Integer pageNum, Integer pageSize);

    Goods queryGoodsDetailById(Integer id);

    int updateFileUri(Goods goods);

    List<Goods> getMoreGoodsByTid(String tid);

	int getgetMoreGoodsByTidCount(String tid);
}
